package com.hpq.chat.service;

import com.hpq.chat.domain.model.GroupMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpq.chat.domain.vo.request.admin.AdminAddReq;
import com.hpq.chat.domain.vo.request.admin.AdminRevokeReq;
import com.hpq.chat.domain.vo.request.member.MemberExitReq;

import javax.validation.Valid;

/**
 * <p>
 * 群成员表 服务类
 * </p>
 *
 * @author hpq
 * @since 2024-12-16
 */
public interface GroupMemberService {

    void exitGroup(Long uid, @Valid MemberExitReq request);

    void addAdmin(Long uid, @Valid AdminAddReq request);

    void revokeAdmin(Long uid, @Valid AdminRevokeReq request);


}
